import React, { Component } from 'react'
import styles from './searchCenter.module.scss'
import {withRouter} from "react-router-dom"
class SearchCenter extends Component {
    render() {
        return (
            <div className={styles.searchContainner}>
                <div className={styles.searchTitle}>
                    <i className="icon icon-return" onClick={()=>{
                        this.props.history.push('/home');
                    }}></i>
                    <span className={styles.title}>搜索中心</span>
                </div>
            </div>
        )
    }
}
export default withRouter(SearchCenter)